.class public Lcom/xingbook/xingbook/d/d;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/service/download/m;


# instance fields
.field private A:Lcom/xingbook/xingbook/b/d;

.field private B:Lcom/xingbook/xingbook/d/g;

.field private C:Lcom/xingbook/park/d/e;

.field private D:Lcom/xingbook/xingbook/d/h;

.field private a:Landroid/app/Activity;

.field private b:F

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/LinearLayout;

.field private j:Landroid/widget/LinearLayout;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/Button;

.field private m:Landroid/widget/Button;

.field private n:Landroid/widget/RelativeLayout;

.field private o:Landroid/widget/RelativeLayout;

.field private p:Landroid/widget/TextView;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/LinearLayout;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/TextView;

.field private u:Landroid/widget/TextView;

.field private v:Landroid/widget/RelativeLayout;

.field private w:Landroid/widget/ProgressBar;

.field private x:Landroid/widget/LinearLayout;

.field private y:Landroid/widget/ImageView;

.field private z:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/app/Activity;FLcom/xingbook/xingbook/d/g;)V
    .locals 9
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v0, Lcom/xingbook/xingbook/d/h;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/d/h;-><init>(Lcom/xingbook/xingbook/d/d;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->D:Lcom/xingbook/xingbook/d/h;

    iput-object p1, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    iput p2, p0, Lcom/xingbook/xingbook/d/d;->b:F

    iput-object p3, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->C:Lcom/xingbook/park/d/e;

    const/high16 v0, 0x3300

    invoke-virtual {p0, v0}, Lcom/xingbook/xingbook/d/d;->setBackgroundColor(I)V

    invoke-virtual {p0, p0}, Lcom/xingbook/xingbook/d/d;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/high16 v0, 0x4208

    mul-float/2addr v0, p2

    float-to-int v0, v0

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Landroid/widget/RelativeLayout;

    invoke-direct {v2, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/high16 v6, 0x420c

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-virtual {v2, v3, v4, v5, v6}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    new-instance v3, Lcom/xingbook/xingbook/d/e;

    invoke-direct {v3, p0}, Lcom/xingbook/xingbook/d/e;-><init>(Lcom/xingbook/xingbook/d/d;)V

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const/high16 v3, 0x420c

    mul-float/2addr v3, p2

    float-to-int v3, v3

    sget v4, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v5, 0x10

    if-lt v4, v5, :cond_0

    const/4 v4, 0x0

    const v5, 0xffffff

    const/4 v6, -0x1

    invoke-static {v4, v5, v3, v6}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v4

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const v5, 0x4424c000

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/4 v6, -0x2

    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v5, 0xd

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {p0, v2}, Lcom/xingbook/xingbook/d/d;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/RelativeLayout;

    invoke-direct {v4, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const v5, 0x7f0a003f

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout;->setId(I)V

    const/16 v5, 0x8

    new-array v5, v5, [F

    const/4 v6, 0x0

    int-to-float v7, v3

    aput v7, v5, v6

    const/4 v6, 0x1

    int-to-float v7, v3

    aput v7, v5, v6

    const/4 v6, 0x2

    int-to-float v7, v3

    aput v7, v5, v6

    const/4 v6, 0x3

    int-to-float v3, v3

    aput v3, v5, v6

    const/4 v3, 0x4

    const/4 v6, 0x0

    aput v6, v5, v3

    const/4 v3, 0x5

    const/4 v6, 0x0

    aput v6, v5, v3

    const/4 v3, 0x6

    const/4 v6, 0x0

    aput v6, v5, v3

    const/4 v3, 0x7

    const/4 v6, 0x0

    aput v6, v5, v3

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v6, 0x10

    if-lt v3, v6, :cond_1

    const/4 v3, 0x0

    const v6, 0xffffff

    const v7, -0xe74b13

    invoke-static {v3, v6, v5, v7}, Lcom/xingbook/park/ui/aa;->a(II[FI)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v4, v3}, Landroid/widget/RelativeLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_1
    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, -0x1

    const/high16 v6, 0x42d8

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v3, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v3}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/TextView;

    invoke-direct {v3, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    const/high16 v5, 0x4308

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/4 v6, 0x0

    const/high16 v7, 0x430a

    mul-float/2addr v7, p2

    float-to-int v7, v7

    const/4 v8, 0x0

    invoke-virtual {v3, v5, v6, v7, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    const/16 v5, 0x11

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    const/4 v5, -0x1

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    const/4 v5, 0x0

    const v6, 0x4219999a

    mul-float/2addr v6, p2

    invoke-virtual {v3, v5, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    const-string v5, "\u661f\u5b9d\u6559\u80b2\u6545\u4e8b\u4ecb\u7ecd"

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, -0x1

    const/high16 v6, 0x42d8

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v3, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    invoke-virtual {v5, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->c:Landroid/widget/TextView;

    invoke-virtual {v4, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/ImageView;

    invoke-direct {v3, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    invoke-virtual {v3, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    sget-object v5, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    const v5, 0x7f0202a2

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    const/high16 v5, 0x4208

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/high16 v6, 0x4204

    mul-float/2addr v6, p2

    float-to-int v6, v6

    const/high16 v7, 0x4270

    mul-float/2addr v7, p2

    float-to-int v7, v7

    const/high16 v8, 0x4204

    mul-float/2addr v8, p2

    float-to-int v8, v8

    invoke-virtual {v3, v5, v6, v7, v8}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v5, 0x4308

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/high16 v6, 0x42d8

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v3, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    invoke-virtual {v5, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    invoke-virtual {v4, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/ImageView;

    invoke-direct {v3, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    invoke-virtual {v3, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    sget-object v5, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    const v5, 0x7f0202a4

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    const/high16 v5, 0x4270

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/high16 v6, 0x4208

    mul-float/2addr v6, p2

    float-to-int v6, v6

    const/high16 v7, 0x4208

    mul-float/2addr v7, p2

    float-to-int v7, v7

    const/high16 v8, 0x4208

    mul-float/2addr v8, p2

    float-to-int v8, v8

    invoke-virtual {v3, v5, v6, v7, v8}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v5, 0x430a

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/high16 v6, 0x42d8

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v3, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v5, 0xb

    invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    invoke-virtual {v5, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    invoke-virtual {v4, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/LinearLayout;

    invoke-direct {v3, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v6, -0x2

    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v5, 0x3

    const v6, 0x7f0a003f

    invoke-virtual {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/TextView;

    invoke-direct {v4, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    const/16 v5, 0x11

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    const v5, -0xcccccd

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    const/4 v5, 0x0

    const/high16 v6, 0x4210

    mul-float/2addr v6, p2

    invoke-virtual {v4, v5, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->setSingleLine()V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    sget-object v5, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v6, -0x2

    invoke-direct {v4, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v5, 0x4220

    mul-float/2addr v5, p2

    float-to-int v5, v5

    iput v5, v4, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iput v0, v4, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v0, v4, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/TextView;

    invoke-direct {v4, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    const v5, -0x99999a

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    const/4 v5, 0x0

    const v6, 0x4201999a

    mul-float/2addr v6, p2

    invoke-virtual {v4, v5, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->setSingleLine()V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    sget-object v5, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v6, -0x2

    invoke-direct {v4, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v5, 0x4220

    mul-float/2addr v5, p2

    float-to-int v5, v5

    iput v5, v4, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iput v0, v4, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v0, v4, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/LinearLayout;

    invoke-direct {v4, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v5, -0x2

    const/4 v6, -0x2

    invoke-direct {v4, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v5, 0x41c8

    mul-float/2addr v5, p2

    float-to-int v5, v5

    iput v5, v4, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iput v0, v4, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v0, v4, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v4}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    const/high16 v4, 0x4120

    mul-float/2addr v4, p2

    float-to-int v4, v4

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    const/16 v6, 0x11

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    const/4 v6, 0x0

    const/high16 v7, 0x41f0

    mul-float/2addr v7, p2

    invoke-virtual {v5, v6, v7}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    const/4 v6, -0x1

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    sget v5, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v6, 0x10

    if-lt v5, v6, :cond_2

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0xffffff

    const/16 v8, -0x2cc4

    invoke-static {v6, v7, v4, v8}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_2
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v6, 0x4314

    mul-float/2addr v6, p2

    float-to-int v6, v6

    const/high16 v7, 0x4250

    mul-float/2addr v7, p2

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v6, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    iget-object v6, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    const/16 v6, 0x11

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    const/4 v6, 0x0

    const/high16 v7, 0x41f0

    mul-float/2addr v7, p2

    invoke-virtual {v5, v6, v7}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    const/4 v6, -0x1

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    sget v5, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v6, 0x10

    if-lt v5, v6, :cond_3

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0xffffff

    const/16 v8, -0x7474

    invoke-static {v6, v7, v4, v8}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_3
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v6, 0x4314

    mul-float/2addr v6, p2

    float-to-int v6, v6

    const/high16 v7, 0x4250

    mul-float/2addr v7, p2

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v6, 0x4100

    mul-float/2addr v6, p2

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iget-object v6, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    iget-object v6, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    const/16 v6, 0x11

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    const/4 v6, 0x0

    const/high16 v7, 0x41f0

    mul-float/2addr v7, p2

    invoke-virtual {v5, v6, v7}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    const/4 v6, -0x1

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    sget v5, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v6, 0x10

    if-lt v5, v6, :cond_4

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0xffffff

    const v8, -0x891c9c

    invoke-static {v6, v7, v4, v8}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v4

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_4
    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v5, 0x4314

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/high16 v6, 0x4250

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v4, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v5, 0x4100

    mul-float/2addr v5, p2

    float-to-int v5, v5

    iput v5, v4, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/LinearLayout;

    invoke-direct {v4, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setOrientation(I)V

    const/4 v5, 0x5

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v6, 0x41b8

    mul-float/2addr v6, p2

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iput v0, v5, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v0, v5, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    const v6, -0x666667

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0x42066666

    mul-float/2addr v7, p2

    invoke-virtual {v5, v6, v7}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    invoke-virtual {v5}, Landroid/widget/TextView;->setSingleLine()V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    sget-object v6, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x2

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v6, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0202b5

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/high16 v7, 0x41e0

    mul-float/2addr v7, p2

    float-to-int v7, v7

    const/high16 v8, 0x41e0

    mul-float/2addr v8, p2

    float-to-int v8, v8

    invoke-virtual {v4, v5, v6, v7, v8}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    const/high16 v6, 0x4100

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-virtual {v5, v4, v6, v7, v8}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    new-instance v4, Landroid/widget/HorizontalScrollView;

    invoke-direct {v4, v1}, Landroid/widget/HorizontalScrollView;-><init>(Landroid/content/Context;)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const v7, 0x43968000

    mul-float/2addr v7, p2

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v6, 0x4150

    mul-float/2addr v6, p2

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iput v0, v5, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v0, v5, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    invoke-virtual {v4, v5}, Landroid/widget/HorizontalScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/LinearLayout;

    invoke-direct {v5, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    const/16 v6, 0x10

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v5, Landroid/view/ViewGroup$LayoutParams;

    const/4 v6, -0x2

    const/4 v7, -0x1

    invoke-direct {v5, v6, v7}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    iget-object v6, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v6, v5}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v5}, Landroid/widget/HorizontalScrollView;->addView(Landroid/view/View;)V

    const/high16 v4, 0x41c8

    mul-float/2addr v4, p2

    float-to-int v4, v4

    new-instance v5, Landroid/widget/RelativeLayout;

    invoke-direct {v5, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v6, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v7, -0x1

    const/4 v8, -0x2

    invoke-direct {v6, v7, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v7, 0x420c

    mul-float/2addr v7, p2

    float-to-int v7, v7

    iput v7, v6, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    iput v0, v6, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v0, v6, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    invoke-virtual {v5, v6}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v3, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v0, v3, :cond_5

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    const/4 v3, 0x0

    const v6, 0xffffff

    const v7, -0xdedf

    invoke-static {v3, v6, v4, v7}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_5
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    const/4 v3, 0x0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    const/16 v3, 0x11

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x438d8000

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const/high16 v6, 0x4296

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v0, v3, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v3, 0x7f0202a5

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundResource(I)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v6, 0x4234

    mul-float/2addr v6, p2

    float-to-int v6, v6

    const/high16 v7, 0x4234

    mul-float/2addr v7, p2

    float-to-int v7, v7

    invoke-direct {v3, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const/4 v3, -0x1

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v3, 0x0

    const v6, 0x42066666

    mul-float/2addr v6, p2

    invoke-virtual {v0, v3, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x2

    const/4 v7, -0x2

    invoke-direct {v3, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const-string v3, "\u4f1a\u5458\u4e0b\u8f7d"

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v0, v3, :cond_6

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    const/4 v3, 0x0

    const v6, 0xffffff

    const/16 v7, -0x7600

    invoke-static {v3, v6, v4, v7}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_6
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    const/16 v3, 0x11

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x438d8000

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const/high16 v4, 0x4296

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xb

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v3, 0x7f0202a3

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundResource(I)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v4, 0x4218

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const/high16 v6, 0x4228

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v3, v4, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    const/4 v3, -0x1

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    const/4 v3, 0x0

    const v4, 0x42066666

    mul-float/2addr v4, p2

    invoke-virtual {v0, v3, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->setSingleLine()V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x2

    const/4 v4, -0x2

    invoke-direct {v0, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/Button;

    invoke-direct {v0, v1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v0, v3, :cond_7

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->d(F)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_7
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v0, v3, v4, v6, v7}, Landroid/widget/Button;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    const/4 v3, 0x0

    const v4, 0x42066666

    mul-float/2addr v4, p2

    invoke-virtual {v0, v3, v4}, Landroid/widget/Button;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    const-string v3, "\u7acb\u5373\u4e0b\u8f7d"

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x44144000

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const/high16 v4, 0x4296

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xe

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v3, v0}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/Button;

    invoke-direct {v0, v1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v0, v3, :cond_8

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->e(F)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_8
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v0, v3, v4, v6, v7}, Landroid/widget/Button;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    const/4 v3, 0x0

    const v4, 0x42066666

    mul-float/2addr v4, p2

    invoke-virtual {v0, v3, v4}, Landroid/widget/Button;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    const-string v3, "\u6253\u5f00"

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x44144000

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const/high16 v4, 0x4296

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xe

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v3, v0}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-direct {v0, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v0, v3, :cond_9

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->f(F)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_9
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x44144000

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const/high16 v4, 0x4296

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xe

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-direct {v0, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->o:Landroid/widget/RelativeLayout;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x44144000

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const/high16 v4, 0x4296

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->o:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->o:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0x10

    if-lt v3, v4, :cond_a

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->e(F)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_a
    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const v4, 0x44144000

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const/high16 v5, 0x4296

    mul-float/2addr v5, p2

    float-to-int v5, v5

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->o:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const/4 v3, -0x1

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const/4 v3, 0x0

    const v4, 0x42066666

    mul-float/2addr v4, p2

    invoke-virtual {v0, v3, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x2

    const/4 v4, -0x2

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xd

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-direct {v0, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x1

    const/high16 v4, 0x443d

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v3, 0x3

    const v4, 0x7f0a003f

    invoke-virtual {v0, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v3, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/ProgressBar;

    invoke-direct {v0, v1}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f02023d

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setIndeterminateDrawable(Landroid/graphics/drawable/Drawable;)V

    const/high16 v0, 0x42a0

    mul-float/2addr v0, p2

    float-to-int v0, v0

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v0, v0}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v0, 0xd

    invoke-virtual {v2, v0}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    const v2, 0x1ffffff

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    const/16 v2, 0x11

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x1

    invoke-direct {v0, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/xingbook/xingbook/d/f;

    invoke-direct {v2, p0}, Lcom/xingbook/xingbook/d/f;-><init>(Lcom/xingbook/xingbook/d/d;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/ImageView;

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->y:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->y:Landroid/widget/ImageView;

    sget-object v2, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->y:Landroid/widget/ImageView;

    const v2, 0x7f020241

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    const/high16 v0, 0x42c8

    mul-float/2addr v0, p2

    float-to-int v0, v0

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->y:Landroid/widget/ImageView;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v0, v0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->y:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    const/16 v1, 0x11

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    const/4 v1, 0x0

    const/high16 v2, 0x41e0

    mul-float/2addr v2, p2

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    const v1, -0x666667

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    const/4 v1, 0x1

    invoke-static {v1}, Landroid/graphics/Typeface;->defaultFromStyle(I)Landroid/graphics/Typeface;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x2

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    return-void

    :cond_0
    const/4 v4, 0x0

    const v5, 0xffffff

    const/4 v6, -0x1

    invoke-static {v4, v5, v3, v6}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v4

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_0

    :cond_1
    const/4 v3, 0x0

    const v6, 0xffffff

    const v7, -0xe74b13

    invoke-static {v3, v6, v5, v7}, Lcom/xingbook/park/ui/aa;->a(II[FI)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v4, v3}, Landroid/widget/RelativeLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_1

    :cond_2
    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0xffffff

    const/16 v8, -0x2cc4

    invoke-static {v6, v7, v4, v8}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_2

    :cond_3
    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0xffffff

    const/16 v8, -0x7474

    invoke-static {v6, v7, v4, v8}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_3

    :cond_4
    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    const/4 v6, 0x0

    const v7, 0xffffff

    const v8, -0x891c9c

    invoke-static {v6, v7, v4, v8}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v4

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_4

    :cond_5
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    const/4 v3, 0x0

    const v6, 0xffffff

    const v7, -0xdedf

    invoke-static {v3, v6, v4, v7}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_5

    :cond_6
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    const/4 v3, 0x0

    const v6, 0xffffff

    const/16 v7, -0x7600

    invoke-static {v3, v6, v4, v7}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_6

    :cond_7
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->d(F)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_7

    :cond_8
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->e(F)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_8

    :cond_9
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->f(F)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_9

    :cond_a
    invoke-static {p2}, Lcom/xingbook/park/ui/aa;->e(F)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_a
.end method

.method static synthetic a(Lcom/xingbook/xingbook/d/d;)Lcom/xingbook/xingbook/d/g;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    return-object v0
.end method

.method private a(I)V
    .locals 4

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-int/lit16 v1, p1, 0x251

    div-int/lit8 v1, v1, 0x64

    int-to-float v1, v1

    iget v2, p0, Lcom/xingbook/xingbook/d/d;->b:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x4296

    iget v3, p0, Lcom/xingbook/xingbook/d/d;->b:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->o:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/xingbook/xingbook/d/d;->g()V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method private d(Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->z:Landroid/widget/TextView;

    if-nez p1, :cond_0

    const-string p1, "\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5"

    :cond_0
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    return-void
.end method

.method private g()V
    .locals 2

    const/16 v1, 0x8

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    return-void
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->ag()I

    move-result v0

    invoke-direct {p0}, Lcom/xingbook/xingbook/d/d;->g()V

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/xingbook/c/a;->a(Ljava/lang/String;)Z

    move-result v0

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v1}, Lcom/xingbook/xingbook/b/d;->D()I

    move-result v1

    if-lez v1, :cond_0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v2}, Lcom/xingbook/xingbook/b/d;->D()I

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\u661f\u5e01\u5151\u6362"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_0
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    const-string v1, "\u5df2\u8d2d\uff0c\u518d\u6b21\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    const-string v1, "\u7acb\u5373\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x6

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/xingbook/d/d;->a(Ljava/lang/String;I)V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/xingbook/d/d;->a(Ljava/lang/String;I)V

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0, v2}, Lcom/xingbook/xingbook/d/d;->a(Ljava/lang/String;I)V

    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v1}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch -0x1
        :pswitch_0
        :pswitch_2
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_4
    .end packed-switch
.end method

.method public a(Ljava/lang/String;I)V
    .locals 4

    const v2, 0x7f080059

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->C:Lcom/xingbook/park/d/e;

    invoke-virtual {v0, p1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;)I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/xingbook/service/download/b;->d(Ljava/lang/String;)Lcom/xingbook/service/download/k;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->b()I

    move-result p2

    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->e()I

    move-result v0

    :goto_1
    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v1, p2}, Lcom/xingbook/xingbook/b/d;->a(I)V

    packed-switch p2, :pswitch_data_0

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    goto :goto_1

    :pswitch_0
    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const-string v2, "\u8bf7\u7a0d\u7b49\u00b7\u00b7\u00b7"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0

    :pswitch_1
    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const v2, 0x7f080056

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0

    :pswitch_2
    invoke-virtual {p0, p1, v0}, Lcom/xingbook/xingbook/d/d;->b(Ljava/lang/String;I)V

    goto :goto_0

    :pswitch_3
    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const v2, 0x7f080057

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const v1, 0x7f080058

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->D:Lcom/xingbook/xingbook/d/h;

    const/4 v1, 0x1

    const-wide/16 v2, 0x320

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/xingbook/d/h;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0

    :pswitch_5
    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public a_()V
    .locals 0

    return-void
.end method

.method public a_(Ljava/lang/String;)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    const/4 v1, 0x7

    invoke-virtual {v0, v1}, Lcom/xingbook/xingbook/b/d;->a(I)V

    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->a()V

    goto :goto_0
.end method

.method public b(Ljava/lang/String;I)V
    .locals 3

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->C:Lcom/xingbook/park/d/e;

    invoke-virtual {v0, p1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;)I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0, p2}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0
.end method

.method public b_(Ljava/lang/String;)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->C:Lcom/xingbook/park/d/e;

    invoke-virtual {v0, p1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;)I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const-string v1, "\u8bf7\u7a0d\u7b49\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/xingbook/xingbook/d/d;->a(I)V

    goto :goto_0
.end method

.method public c()V
    .locals 2

    const/16 v1, 0x8

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method public c(Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/xingbook/d/d;->d(Ljava/lang/String;)V

    return-void
.end method

.method public c(Ljava/lang/String;I)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->C:Lcom/xingbook/park/d/e;

    invoke-virtual {v0, p1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;)I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const v1, 0x7f080059

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    invoke-direct {p0}, Lcom/xingbook/xingbook/d/d;->g()V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_0
.end method

.method public d()V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method public e()V
    .locals 3

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->c()V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->x:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->w:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->v:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    return-void
.end method

.method public f()V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/xingbook/d/d;->h()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->d:Landroid/widget/ImageView;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    invoke-interface {v0}, Lcom/xingbook/xingbook/d/g;->a()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->e:Landroid/widget/ImageView;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-interface {v0, v1}, Lcom/xingbook/xingbook/d/g;->b(Lcom/xingbook/xingbook/b/d;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u5173\u95ed\u5f53\u524d\u9875\u9762\u91cd\u8bd5"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->i:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-interface {v0, v1}, Lcom/xingbook/xingbook/d/g;->a(Lcom/xingbook/xingbook/b/d;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u5173\u95ed\u5f53\u524d\u9875\u9762\u91cd\u8bd5"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->j:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-interface {v0, v1}, Lcom/xingbook/xingbook/d/g;->c(Lcom/xingbook/xingbook/b/d;)V

    goto :goto_0

    :cond_6
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u5173\u95ed\u5f53\u524d\u9875\u9762\u91cd\u8bd5"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_7
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->l:Landroid/widget/Button;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-interface {v0, v1}, Lcom/xingbook/xingbook/d/g;->d(Lcom/xingbook/xingbook/b/d;)V

    goto/16 :goto_0

    :cond_8
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u5173\u95ed\u5f53\u524d\u9875\u9762\u91cd\u8bd5"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->m:Landroid/widget/Button;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-interface {v0, v1}, Lcom/xingbook/xingbook/d/g;->e(Lcom/xingbook/xingbook/b/d;)V

    goto/16 :goto_0

    :cond_a
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u5173\u95ed\u5f53\u524d\u9875\u9762\u91cd\u8bd5"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    :cond_b
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->n:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_d

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/d;->ag()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    goto/16 :goto_0

    :pswitch_0
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-interface {v0, v1}, Lcom/xingbook/xingbook/d/g;->d(Lcom/xingbook/xingbook/b/d;)V

    goto/16 :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v1}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->p:Landroid/widget/TextView;

    const-string v1, "\u6682\u505c\u4e2d\u2026"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    invoke-virtual {v1}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->c(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_c
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u5173\u95ed\u5f53\u524d\u9875\u9762\u91cd\u8bd5"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    :cond_d
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    invoke-interface {v0}, Lcom/xingbook/xingbook/d/g;->a()V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch -0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_1
        :pswitch_1
    .end packed-switch
.end method

.method public setTellStory(Lcom/xingbook/xingbook/b/d;)V
    .locals 12

    const/4 v7, 0x2

    const/16 v6, 0x8

    const/4 v3, 0x1

    const/4 v4, 0x0

    iput-object p1, p0, Lcom/xingbook/xingbook/d/d;->A:Lcom/xingbook/xingbook/b/d;

    if-eqz p1, :cond_7

    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->d()V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->f:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->u()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->g:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->ab()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->w()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/xingbook/c/p;->a(J)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->h:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->j()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\u7236\u6bcd\u63a8\u8350"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->h()I

    move-result v7

    if-lez v7, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->getContext()Landroid/content/Context;

    move-result-object v8

    const v0, 0x43ee8000

    iget v1, p0, Lcom/xingbook/xingbook/d/d;->b:F

    mul-float/2addr v0, v1

    float-to-int v9, v0

    const v0, 0x43968000

    iget v1, p0, Lcom/xingbook/xingbook/d/d;->b:F

    mul-float/2addr v0, v1

    float-to-int v10, v0

    const/high16 v0, 0x4120

    iget v1, p0, Lcom/xingbook/xingbook/d/d;->b:F

    mul-float/2addr v0, v1

    float-to-int v11, v0

    move v6, v4

    :goto_1
    if-lt v6, v7, :cond_5

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/xingbook/d/d;->a()V

    :goto_2
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v2

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->s:Landroid/widget/TextView;

    invoke-virtual {v1, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-le v2, v3, :cond_3

    iget-object v5, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_3
    if-le v2, v7, :cond_4

    iget-object v2, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v1, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->t:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_3

    :cond_4
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    :cond_5
    new-instance v1, Landroid/widget/ImageView;

    invoke-direct {v1, v8}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const v0, -0x333334

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v9, v10}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-eqz v6, :cond_6

    iput v11, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    :cond_6
    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-virtual {p1, v6}, Lcom/xingbook/xingbook/b/d;->y(I)Ljava/lang/String;

    move-result-object v0

    const/4 v2, -0x1

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    add-int/lit8 v0, v6, 0x1

    move v6, v0

    goto :goto_1

    :cond_7
    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->a:Landroid/app/Activity;

    const-string v1, "\u6545\u4e8b\u6570\u636e\u9519\u8bef\uff0c\u9875\u9762\u5df2\u81ea\u52a8\u5173\u95ed"

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/xingbook/xingbook/d/d;->B:Lcom/xingbook/xingbook/d/g;

    invoke-interface {v0}, Lcom/xingbook/xingbook/d/g;->a()V

    goto/16 :goto_2
.end method
